﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataBase
{
    /// <summary>
    /// 区域
    /// </summary>
    [Table("Region")]
    public class Region
    {
        /// <summary>
        /// 主键，自动递增
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>

        [Column("Name")]
        public string Name { get; set; }

      
        [Column("CraftId")]
        public int ? CraftId { get; set; }

    }
}
